/**
 * 
 */
package jvs.peer.io;

/**
 * @author qiangli
 * 
 */
public interface PeerStatus {
	public enum Status {
		AVAIL,   //service available
		BUSY,    //max session reached
		OFF     //service turned off service not available, status not known
	};
	
	/**
	 * Return array of IP addresses and port numbers
	 * 
	 * @param peer
	 * @return
	 */
	public String[] getNetAddress(String peer);
	
	public void changeStatus(Status status);

	public Status checkStatus(String peer);

}
